using NL;
using UnityEngine;
namespace Miya.Hellow
{
    public class UIVersion : MonoBehaviour
    {


        private void Start()
        {
            //Version V1 = new Version("0.1.2");
            //Version V3 = new Version("0.1.2");

            //if(V3>V1)
            //{
            //    Debug.Log(">>>>>>>>");
            //}

            //if (V3 == V1)
            //{
            //    Debug.Log("=========");
            //}
        }

        protected virtual void OnEnable()
        {
            gameObject.INFOSet(VERSION.Version);
            if (VERSION.AppVersion!=null && VERSION.AppVersion.Avilable)
                gameObject.INFOAdd(VERSION.AppVersion, "_inapp");
            if (VERSION.HotVersion!=null && VERSION.HotVersion.Avilable)
                gameObject.INFOAdd(VERSION.HotVersion, "_outapp");
        }
    }
}

